TORTOISE_ORM = {
    "connections": {"default": "mysql://root:haosql@localhost:3306/ry3"},
    "apps": {
        "models": {
            "models": [
                "db.models.user",
                "db.models.customer",
                "db.models.warehouse",
                "db.models.product",
                "db.models.product_unit",
                "db.models.sale",
                "db.models.store",
                "db.models.move",
                "aerich.models"
            ],
            "default_connection": "default",
        },
    },
    'use_tz': False,
    'timezone': 'Asia/Shanghai',
    "db_config": {
        "pool": {
            "max_connections": 10,
            "min_connections": 5,
            "max_idle_time": 300,
        }
    },
}
